package com.mp.chart.data;

import java.util.ArrayList;
import java.util.List;


public class SarData
        extends BarLineScatterCandleData<SarDataSet> {

    public SarData() {
        super();
    }

    public SarData(List<String> xVals) {
        super(xVals);
    }

    public SarData(String[] xVals) {
        super(xVals);
    }

    public SarData(List<String> xVals, List<SarDataSet> dataSets) {
        super(xVals, dataSets);
    }

    public SarData(String[] xVals, List<SarDataSet> dataSets) {
        super(xVals, dataSets);
    }

    public SarData(List<String> xVals, SarDataSet dataSet) {
        super(xVals, toList(dataSet));
    }

    public SarData(String[] xVals, SarDataSet dataSet) {
        super(xVals, toList(dataSet));
    }

    private static List<SarDataSet> toList(SarDataSet dataSet) {
        List<SarDataSet> sets = new ArrayList<>();
        sets.add(dataSet);
        return sets;
    }
}